package cn.smbms.service;

import java.util.List;

import cn.smbms.pojo.Bill;

public interface BillServiceI {

	/*
	 * (non-Javadoc)
	 * 
	 * @see cn.smbms.service.ProviderServiceI#getAllNameAndId()
	 */
	List<Bill> getBillListByCondition(String productName, Integer providerId, Integer isPayment, Integer pageNo);

	/*
	 * (non-Javadoc)
	 * 
	 * @see cn.smbms.service.ProviderServiceI#getPageByProName(java.lang.String,
	 * java.lang.Integer)
	 */
	public int count(String productName, Integer providerId, Integer isPayment);

	Bill getBillById(Integer id);

	// 增加订单
	int addBill(Bill b);

	// 修改订单
	int updateBill(Bill b);

	// 删除订单
	int deleteBill(Integer id);

}